

package com.hexinfo.dmpro.admin.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

/**
 * 部门表
 *
 * @author zhouax
 * @date 2023-08-09 13:42:26
 */
@Data
@TableName("sys_dept")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "部门表")
public class SysDept extends Model<SysDept> {
private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    //@TableId(type= IdType.ASSIGN_UUID)
    @ApiModelProperty(value="ID")
    private Long id;
    /**
     * 名称
     */
    @ApiModelProperty(value="名称")
    private String name;
    /**
     * 上级部门
     */
    @ApiModelProperty(value="上级部门")
    private Long pid;
    /**
     * 状态
     */
    @ApiModelProperty(value="状态")
    private Integer enabled;
    /**
     * 创建日期
     */
    @ApiModelProperty(value="创建日期")
    private LocalDateTime createTime;
    }
